package service;

import java.util.List;
import pageModel.DataGrid;
import pageModel.ProductStatistic;
import pageModel.Receipt;
import pageModel.SaleHighchart;
import pageModel.ShopList;

public interface ShopListServiceI {
	/**
	 * 显示顾客一次消费列表
	 * @param tid
	 * @param codes
	 * @param amounts
	 */
public void saveOrUpdate(String tid,String codes,String amounts,String nprices);
	/**
 	 * 提取单据显示至收银前台
 	 * @param tid
 	 */
public DataGrid show(ShopList shopList);
   /**
    * 修改库存
    * @param codes
    * @param amounts
    */
public void updateInventory(String codes,String amounts);
/**
 * 补打小票时填充商品信息
 * @param tid
 * @return
 */
public DataGrid outputReceipt(ShopList shopList);
/**
 * 品类数字报表
 * @param shopList
 * @return
 */
public List<ProductStatistic> jasper(ShopList shopList);
/**
 * 品类销售量图形报表
 * @param receipt
 * @return
 */
public List<SaleHighchart> highChart(Receipt receipt);
/**
 * 品类销售额图形报表
 * @param receipt
 * @return
 */
public List<SaleHighchart> saleHighChart(Receipt receipt);
}
